﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace CondominioG1.Dominio
{
    public class Reserva
    {
        public Int32 Numero { get; set; }

         [Required(ErrorMessage = "Debe ingresar Fecha")]   
        public DateTime Fecha { get; set; }

         [Required(ErrorMessage = "Debe ingresar cantidad de personas")]   
        public Int32 Personas { get; set; }

         [Required(ErrorMessage = "Debe ingresar Residente")]   
        public Residente Residente { get; set; }

         [Required(ErrorMessage = "Debe ingresar Area Común")]   
        public Area Area { get; set; }

        public String Comentario { get; set; }
    }
}